projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20adc37
)
fontchooser: set the minimum size of the spinner to 1
author
Alberto Ruiz
<aruiz@gnome.org>
Fri, 2 Aug 2013 13:56:54 +0000
(15:56 +0200)
committer
Alberto Ruiz
<aruiz@gnome.org>
Fri, 2 Aug 2013 13:56:54 +0000
(15:56 +0200)
gtk/gtkfontchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserwidget.c
b/gtk/gtkfontchooserwidget.c
index a0dcc94e3192479968761e56799dec85a506fba3..16f964dd0b4d1ed597a816a35493cfd89a099632 100644
(file)
--- a/
gtk/gtkfontchooserwidget.c
+++ b/
gtk/gtkfontchooserwidget.c
@@
-537,7
+537,7
@@
gtk_font_chooser_widget_init (GtkFontChooserWidget *fontchooser)
/* Set the upper values of the spin/scale with G_MAXINT / PANGO_SCALE */
gtk_spin_button_set_range (GTK_SPIN_BUTTON (priv->size_spin),
-
0
.0, (gdouble)(G_MAXINT / PANGO_SCALE));
+
1
.0, (gdouble)(G_MAXINT / PANGO_SCALE));
gtk_adjustment_set_upper (gtk_range_get_adjustment (GTK_RANGE (priv->size_slider)),
(gdouble)(G_MAXINT / PANGO_SCALE));